package com.yu.crm.mapper;

import com.yu.crm.domain.pojo.CrmRole;
import com.yu.crm.domain.pojo.CrmRoleGroup;
import com.yxzz.common.BaseMapper;

import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色分组表 Mapper 接口
 * </p>
 *
 * @author donnie-bin
 * @since 2019-06-10
 */
public interface CrmRoleGroupMapper extends BaseMapper<CrmRoleGroup> {

    List<CrmRoleGroup> getChildren(@Param(value = "pid") Long pid);

}
